DevJourney

Python/RegEx/String's First Word/split().py

s = str(input("Enter a string: "))
res = s.split()
print(res[0])
View on GitHub